Methods
| Name | Returns | Notes | Example |
|---|---|---|---|
| withProfile ( userId ) | EventBuilder | Attempts to locate a user by their userId/username and sets it, Returning the builder for chaining | |
| withProfile ( profile ) | EventBuilder | Sets the profile and returns the builder for chaining | |
| withProfile ( profile ) | EventBuilder | Sets the profile and returns the builder for chaining | |
| withWebsite ( websiteName ) | EventBuilder | Attempts to locate a website with it's name and returns the builder for chaining | |
| withWebsite ( website ) | EventBuilder | Sets the website and returns the builder for chaining | |
| withTriggerId ( triggerId ) | EventBuilder | Sets the trigger id and returns the builder for chaining | |
| withAttributes ( attributes ) | EventBuilder | Sets the attributes map and returns the builder for chaining | |
| addAttribute ( key, value ) | EventBuilder | Adds an attribute and returns the builder for chaining | |
| withConditions ( conditions ) | EventBuilder | Set's the conditions and returns the builder for chaining | |
| withAttachments ( attachments ) | EventBuilder | Sets the attachments and returns the builder for chaining | |
| addAttachment ( fileName, hash, contentType ) | EventBuilder | Adds an attachment with the disposition "attachment" and returns the builder for chaining | |
| addAttachment ( fileName, hash ) | EventBuilder | Adds an attachment with the contentType "application/octet-stream" and disposition "attachment" and returns the builder for chaining | |
| addAttachment ( fileName, hash, contentType, disposition ) | EventBuilder | * Adds an attachment and returns the builder for chaining | |
| fireEvent ( ) | void | Builds and fires the event |
Hide comments